(function(TYPES,typeId){
    function my_a(){
        var that = this;
        this.run=function(shape,tan){
            var tans = [tan];
            var generator = ME.createGenerator("TestStateSpaceGenerator-1");
            var result = generator.run(shape, tans);
            var matchingNodes = ShapeNodeUtils.getMatchingNodes(result);
            return matchingNodes;
        }
    }    TYPES.registerType(typeId,my_a);
})(RULES,"TestRuleMatches-1");
